package com.lvmama.pangolin.mybatis.mapper;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.ConvertTask;



public interface ConvertTaskMapper 
{
    int deleteByPrimaryKey(Integer id);

    int insert(ConvertTask record);

    int insertSelective(ConvertTask record);

    ConvertTask selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ConvertTask record);

    int updateByPrimaryKey(ConvertTask record);
    public List<ConvertTask> queryByLimitNum(Map<String,Object> map);
    public int updateByMap(Map<String,Object> map);
    public List<ConvertTask> queryByMap(Map<String,Object> map);
    public int updateRunningStatus();
    int deletePreviousData(int limit);
}